package com.liming.common.pojo.dto.authinfo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author liming
 * @date 2025/3/11
 */
@Data
@Schema(description = "用户活动新增参数")
public class UserActivityAddDTO {

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "用户操作类型 0登录、1搜索、2浏览、3加入购物车、4下单完成支付、5收藏、6评价、7售后、8浏览系统推荐商品")
    private Integer operationType;

    @Schema(description = "订单金额，仅在操作类型为4下单完成支付时（order）记录金额")
    private BigDecimal orderAmount;

    @Schema(description = "关键ID：商品ID，订单ID")
    private Long keyId;
}
